v0.15.0 - #98
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the workspace documentation and crate manifests to reflect the v0.15.0 release, including aligning internal crate dependency pins to the newly published versions.
Changes:
- Bump
promkitcrate version to0.15.0and update its pinned internal dependencies (promkit-core/promkit-widgets). - Bump
promkit-coreto0.6.0andpromkit-widgetsto0.8.0. - Update version references in repository docs (
README.md,Concept.md, andpromkit-widgets/README.md) to match the new release.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates the installation snippet to promkit = 0.15.0. |
| promkit/Cargo.toml | Bumps promkit to 0.15.0 and pins promkit-core = 0.6.0 / promkit-widgets = 0.8.0. |
| promkit-widgets/README.md | Updates usage examples to promkit = 0.15.0 and promkit-widgets = 0.8. |
| promkit-widgets/Cargo.toml | Bumps promkit-widgets to 0.8.0 and pins promkit-core = 0.6.0. |
| promkit-core/Cargo.toml | Bumps promkit-core to 0.6.0. |
| Concept.md | Updates the feature example snippet to promkit = 0.15.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR prepares promkit v0.15.0 with more explicit renderer layout policies and independently reusable prefix-search results.
HeightPolicyto support:OrderedContentfor content-sized widgets allocated in orderFairContentfor equal-share allocation capped by content heightFairFillfor equal-share allocation that preserves the assigned heightWrapandTruncateoverflow modes to the text widgetPrefixSearchso queries return independently selectablePrefixSearchResultsnapshotspromkitto0.15.0promkit-coreto0.6.0promkit-widgetsto0.8.0Breaking changes
WidgetLayoutnow exposes aheight_policyfield.PrefixSearch::searchhas been replaced byPrefixSearch::query.PrefixSearchResultthrough itsresultfield.statusfeature andpromkit_widgets::statusmodule have been removed.overflow_mode.Validation
cargo fmt --all -- --checkcargo clippycargo test -- --nocapture --format prettyThe new height policies are also covered by
termharnessscenarios for ordered allocation, fair content sizing, and fair fill sizing.